package com.guofen.service.cylj;

import com.guofen.pojo.KitchenwasteHatching;

import java.util.Map;

public interface KitchenwasteHatchingService {
    boolean add(KitchenwasteHatching kitchenwasteHatching);
    KitchenwasteHatching getlast();
    Map<String, Object> get(int pageSize, int currentPage);

    Map<String, Object> getByTime(int pageSize, int currentPage, long startTime, long endTime);

    int delete(int id);

    int update(KitchenwasteHatching record);
}
